<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template local_date_time_base</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../date_time/doxy.html#doxygen.local_time_reference.local__date__time_8hpp" title="Header &lt;boost/date_time/local_time/local_date_time.hpp&gt;">
<link rel="prev" href="structboost_1_1local__time_1_1dst__not__valid.html" title="Struct dst_not_valid">
<link rel="next" href="structboost_1_1local__time_1_1time__label__invalid.html" title="Struct time_label_invalid">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1local__time_1_1dst__not__valid.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.local_time_reference.local__date__time_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1local__time_1_1time__label__invalid.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template local_date_time_base</span></h2>
<p>boost::local_time::local_date_time_base — Representation of "wall-clock" time in a particular time zone. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../date_time/doxy.html#doxygen.local_time_reference.local__date__time_8hpp" title="Header &lt;boost/date_time/local_time/local_date_time.hpp&gt;">boost/date_time/local_time/local_date_time.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> utc_time_ <span class="special">=</span> <span class="identifier">posix_time</span><span class="special">::</span><span class="identifier">ptime</span><span class="special">,</span> 
         <span class="keyword">typename</span> tz_type <span class="special">=</span> <span class="identifier">date_time</span><span class="special">::</span><span class="identifier">time_zone_base</span><span class="special">&lt;</span><span class="identifier">utc_time_</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">:</span> <span class="keyword">public</span> date_time::base_time&lt; posix_time::ptime, boost::posix_time::posix_time_system &gt;
<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">utc_time_</span>                         <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a7d2ae9d8b3d8992b394dfd53f91f373c"></a><span class="identifier">utc_time_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="identifier">utc_time_type</span><span class="special">::</span><span class="identifier">time_duration_type</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a40734ddea58de64c48d34eb378876add"></a><span class="identifier">time_duration_type</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">utc_time_type</span><span class="special">::</span><span class="identifier">date_type</span>          <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a402398db29778e74776d342d9ea159ed"></a><span class="identifier">date_type</span><span class="special">;</span>         
  <span class="keyword">typedef</span> <span class="identifier">date_type</span><span class="special">::</span><span class="identifier">duration_type</span>          <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1ac394044f9f57d5859dd1640b78610aba"></a><span class="identifier">date_duration_type</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">utc_time_type</span><span class="special">::</span><span class="identifier">time_system_type</span>   <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a0ccd3d95b9c8788b1245006f8cdcfefa"></a><span class="identifier">time_system_type</span><span class="special">;</span>  

  <span class="keyword">enum</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a34507db3610ab26fa794176f00df9211"></a>DST_CALC_OPTIONS <span class="special">{</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a34507db3610ab26fa794176f00df9211a0d87aa6641bceeef49a13a9229f18f56"></a>EXCEPTION_ON_ERROR, <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a34507db3610ab26fa794176f00df9211af600e111596a3097846eb7757708c5b1"></a>NOT_DATE_TIME_ON_ERROR <span class="special">}</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#id-1_3_12_15_6_6_1_1_3_11-bb">public member functions</a></span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a46713d12c6734f6820a0332e512c10ce"><span class="identifier">local_date_time_base</span></a><span class="special">(</span><span class="identifier">utc_time_type</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1acb240aba290a1c724a743913f6f7e38d"><span class="identifier">local_date_time_base</span></a><span class="special">(</span><span class="identifier">date_type</span><span class="special">,</span> <span class="identifier">time_duration_type</span><span class="special">,</span> 
                       <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span><span class="special">,</span> <span class="keyword">bool</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a83e658347ce1e14d299152b56cf59100"><span class="identifier">local_date_time_base</span></a><span class="special">(</span><span class="identifier">date_type</span><span class="special">,</span> <span class="identifier">time_duration_type</span><span class="special">,</span> 
                       <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span><span class="special">,</span> <span class="identifier">DST_CALC_OPTIONS</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a62e89b4438f63b122d5d0788a3b1cf02"><span class="special">~</span><span class="identifier">local_date_time_base</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a13ce6669b7bb4627c764962facf64d05"><span class="identifier">local_date_time_base</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">explicit</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a3157cea39c5c63ec7caa61fa90cf1495"><span class="identifier">local_date_time_base</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">date_time</span><span class="special">::</span><span class="identifier">special_values</span><span class="special">,</span> 
                                <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a0dd5c63b8e5c790a99c5b52d45e1b9ae"><span class="identifier">zone</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a7150a21b2084342cbb5b4e5c0459e0b5"><span class="identifier">is_dst</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">utc_time_type</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a9b868a6c310a469b9904554ab0a37f37"><span class="identifier">utc_time</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">utc_time_type</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a219242cb4d1d67300989abc12eb7b848"><span class="identifier">local_time</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1aab7a8c693d8ca80fa51f8e86df675e24"><span class="identifier">to_string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> 
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a18579544b414f0b73a6b2f0602e25bab"><span class="identifier">local_time_in</span></a><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span><span class="special">,</span> 
                <span class="identifier">time_duration_type</span> <span class="special">=</span> <span class="identifier">time_duration_type</span><span class="special">(</span><span class="number">0</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a60f65d829094bb25cb69e5de3be59222"><span class="identifier">zone_name</span></a><span class="special">(</span><span class="keyword">bool</span> <span class="special">=</span> <span class="keyword">false</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a610695ba1e8f335b9c5f42f94a884b2f"><span class="identifier">zone_abbrev</span></a><span class="special">(</span><span class="keyword">bool</span> <span class="special">=</span> <span class="keyword">false</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a39c22505b10c1028cc862445a03b6d8e"><span class="identifier">zone_as_posix_string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a7d71cd1a9d7c23babbfac85bd99a60d2"><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a3b6000779e99a8b63a78de77c57b7bbc"><span class="keyword">operator</span><span class="special">!=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a28c9de148d506f4f6038de6befd8d20f"><span class="keyword">operator</span><span class="special">&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a8c730b98e84181db30c80cdba516cfaf"><span class="keyword">operator</span><span class="special">&lt;=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a41d67e9f0b607fde10939f7ef39734b4"><span class="keyword">operator</span><span class="special">&gt;</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1aebb1622c384b9099629fffc518f2011c"><span class="keyword">operator</span><span class="special">&gt;=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1afd44c2f9d97193f4dca292a8208cb86e"><span class="keyword">operator</span><span class="special">+</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">date_duration_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a066ad3c996651e583717c56045799c80"><span class="keyword">operator</span><span class="special">+=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">date_duration_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1aa38fe6e3a1b052a1d767cd529a63db75"><span class="keyword">operator</span><span class="special">-</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">date_duration_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a0bb134871cca888f58959136a68ab2fd"><span class="keyword">operator</span><span class="special">-=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">date_duration_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a9442e4536cb967a972bdb0902073051e"><span class="keyword">operator</span><span class="special">+</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1af5a07a2e9cb81653a9fbdf881d17962b"><span class="keyword">operator</span><span class="special">+=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a1a148c4524e25cc73fc861ed78b523cd"><span class="keyword">operator</span><span class="special">-</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1ae7d27a00c93c0a78f1cd2ca5d2cbf62b"><span class="keyword">operator</span><span class="special">-=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">time_duration_type</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a2482741616bca3dfd6f2da12205cdf6f"><span class="keyword">operator</span><span class="special">-</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#id-1_3_12_15_6_6_1_1_3_12-bb">public static functions</a></span>
  <span class="keyword">static</span> <span class="identifier">time_is_dst_result</span> 
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a69c4262bd7850f227c24283f2ef87760"><span class="identifier">check_dst</span></a><span class="special">(</span><span class="identifier">date_type</span><span class="special">,</span> <span class="identifier">time_duration_type</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#id-1_3_12_15_6_6_1_1_3_13-bb">private member functions</a></span>
  <span class="identifier">utc_time_type</span> 
  <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1aaa467285eeb951599fab7735f8b84445"><span class="identifier">construction_adjustment</span></a><span class="special">(</span><span class="identifier">utc_time_type</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span><span class="special">,</span> <span class="keyword">bool</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html#doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a0e3e384c871a1d616ba8f30c62178fb1"><span class="identifier">zone_as_offset</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.12.15.6.6.5.4"></a><h2>Description</h2>
<p>Representation of "wall-clock" time in a particular time zone Local_date_time_base holds a time value (date and time offset from 00:00) along with a time zone. The time value is stored as UTC and conversions to wall clock time are made as needed. This approach allows for operations between wall-clock times in different time zones, and daylight savings time considerations, to be made. Time zones are required to be in the form of a boost::shared_ptr&lt;time_zone_base&gt;. </p>
<div class="refsect2">
<a name="id-1.3.12.15.6.6.5.4.3"></a><h3>
<a name="id-1_3_12_15_6_6_1_1_3_11-bb"></a><code class="computeroutput">local_date_time_base</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a46713d12c6734f6820a0332e512c10ce"></a><span class="identifier">local_date_time_base</span><span class="special">(</span><span class="identifier">utc_time_type</span> t<span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> tz<span class="special">)</span><span class="special">;</span></pre>
<p>This constructor interprets the passed time as a UTC time. So, for example, if the passed timezone is UTC-5 then the time will be adjusted back 5 hours. The time zone allows for automatic calculation of whether the particular time is adjusted for daylight savings, etc. If the time zone shared pointer is null then time stays unadjusted. 
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Parameters:</span></p></td>
<td><div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="computeroutput">t</code></span></p></td>
<td><p>A UTC time </p></td>
</tr>
<tr>
<td><p><span class="term"><code class="computeroutput">tz</code></span></p></td>
<td><p>Timezone for to adjust the UTC time to. </p></td>
</tr>
</tbody>
</table></div></td>
</tr></tbody>
</table></div>
</li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1acb240aba290a1c724a743913f6f7e38d"></a><span class="identifier">local_date_time_base</span><span class="special">(</span><span class="identifier">date_type</span> d<span class="special">,</span> <span class="identifier">time_duration_type</span> td<span class="special">,</span> 
                     <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> tz<span class="special">,</span> <span class="keyword">bool</span> dst_flag<span class="special">)</span><span class="special">;</span></pre>
<p>This constructs a local time – the passed time information understood to be in the passed tz. The DST flag must be passed to indicate whether the time is in daylight savings or not. 
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Throws:</span></p></td>
<td>
<p class="simpara">-- <a class="link" href="structboost_1_1local__time_1_1time__label__invalid.html" title="Struct time_label_invalid">time_label_invalid</a> if the time passed does not exist in the given locale. The non-existent case occurs typically during the shift-back from daylight savings time. When the clock is shifted forward a range of times (2 am to 3 am in the US) is skipped and hence is invalid. </p>
<p class="simpara">-- <a class="link" href="structboost_1_1local__time_1_1dst__not__valid.html" title="Struct dst_not_valid">dst_not_valid</a> if the DST flag is passed for a period where DST is not active. </p>
</td>
</tr></tbody>
</table></div>
</li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a83e658347ce1e14d299152b56cf59100"></a><span class="identifier">local_date_time_base</span><span class="special">(</span><span class="identifier">date_type</span> d<span class="special">,</span> <span class="identifier">time_duration_type</span> td<span class="special">,</span> 
                     <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> tz<span class="special">,</span> 
                     <span class="identifier">DST_CALC_OPTIONS</span> calc_option<span class="special">)</span><span class="special">;</span></pre>
<p>This constructs a local time – the passed time information understood to be in the passed tz. The DST flag is calculated according to the specified rule. </p>
</li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a62e89b4438f63b122d5d0788a3b1cf02"></a><span class="special">~</span><span class="identifier">local_date_time_base</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Simple destructor, releases time zone if last referrer. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a13ce6669b7bb4627c764962facf64d05"></a><span class="identifier">local_date_time_base</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span> rhs<span class="special">)</span><span class="special">;</span></pre>Copy constructor. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">explicit</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a3157cea39c5c63ec7caa61fa90cf1495"></a><span class="identifier">local_date_time_base</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">date_time</span><span class="special">::</span><span class="identifier">special_values</span> sv<span class="special">,</span> 
                              <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> tz <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre>Special values constructor. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a0dd5c63b8e5c790a99c5b52d45e1b9ae"></a><span class="identifier">zone</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>returns time zone associated with calling instance </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a7150a21b2084342cbb5b4e5c0459e0b5"></a><span class="identifier">is_dst</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>returns false is time_zone is NULL and if time value is a special_value </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">utc_time_type</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a9b868a6c310a469b9904554ab0a37f37"></a><span class="identifier">utc_time</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns object's time value as a utc representation. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">utc_time_type</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a219242cb4d1d67300989abc12eb7b848"></a><span class="identifier">local_time</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns object's time value as a local representation. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1aab7a8c693d8ca80fa51f8e86df675e24"></a><span class="identifier">to_string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns string in the form "2003-Aug-20 05:00:00 EDT". <p>Returns string in the form "2003-Aug-20 05:00:00 EDT". If time_zone is NULL the time zone abbreviation will be "UTC". The time zone abbrev will not be included if calling object is a special_value </p>
</li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> 
<a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a18579544b414f0b73a6b2f0602e25bab"></a><span class="identifier">local_time_in</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> new_tz<span class="special">,</span> 
              <span class="identifier">time_duration_type</span> td <span class="special">=</span> <span class="identifier">time_duration_type</span><span class="special">(</span><span class="number">0</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>returns a <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> in the given time zone with the optional time_duration added. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a60f65d829094bb25cb69e5de3be59222"></a><span class="identifier">zone_name</span><span class="special">(</span><span class="keyword">bool</span> as_offset <span class="special">=</span> <span class="keyword">false</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns name of associated time zone or "Coordinated Universal Time". <p>Optional bool parameter will return time zone as an offset (ie "+07:00" extended ISO 8601 format). Empty string is returned for classes that do not use a time_zone </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a610695ba1e8f335b9c5f42f94a884b2f"></a><span class="identifier">zone_abbrev</span><span class="special">(</span><span class="keyword">bool</span> as_offset <span class="special">=</span> <span class="keyword">false</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns abbreviation of associated time zone or "UTC". <p>Optional bool parameter will return time zone as an offset (ie "+0700" ISO 8601 format). Empty string is returned for classes that do not use a time_zone </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a39c22505b10c1028cc862445a03b6d8e"></a><span class="identifier">zone_as_posix_string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>returns a posix_time_zone string for the associated time_zone. If no time_zone, "UTC+00" is returned. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a7d71cd1a9d7c23babbfac85bd99a60d2"></a><span class="keyword">operator</span><span class="special">==</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Equality comparison operator. <p>Equality comparison operator </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a3b6000779e99a8b63a78de77c57b7bbc"></a><span class="keyword">operator</span><span class="special">!=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Non-Equality comparison operator. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a28c9de148d506f4f6038de6befd8d20f"></a><span class="keyword">operator</span><span class="special">&lt;</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Less than comparison operator. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a8c730b98e84181db30c80cdba516cfaf"></a><span class="keyword">operator</span><span class="special">&lt;=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Less than or equal to comparison operator. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a41d67e9f0b607fde10939f7ef39734b4"></a><span class="keyword">operator</span><span class="special">&gt;</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Greater than comparison operator. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1aebb1622c384b9099629fffc518f2011c"></a><span class="keyword">operator</span><span class="special">&gt;=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Greater than or equal to comparison operator. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1afd44c2f9d97193f4dca292a8208cb86e"></a><span class="keyword">operator</span><span class="special">+</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">date_duration_type</span> <span class="special">&amp;</span> dd<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Local_date_time + date_duration. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a066ad3c996651e583717c56045799c80"></a><span class="keyword">operator</span><span class="special">+=</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">date_duration_type</span> <span class="special">&amp;</span> dd<span class="special">)</span><span class="special">;</span></pre>Local_date_time += date_duration. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1aa38fe6e3a1b052a1d767cd529a63db75"></a><span class="keyword">operator</span><span class="special">-</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">date_duration_type</span> <span class="special">&amp;</span> dd<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Local_date_time - date_duration. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a0bb134871cca888f58959136a68ab2fd"></a><span class="keyword">operator</span><span class="special">-=</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">date_duration_type</span> <span class="special">&amp;</span> dd<span class="special">)</span><span class="special">;</span></pre>Local_date_time -= date_duration. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a9442e4536cb967a972bdb0902073051e"></a><span class="keyword">operator</span><span class="special">+</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span> td<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Local_date_time + time_duration. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1af5a07a2e9cb81653a9fbdf881d17962b"></a><span class="keyword">operator</span><span class="special">+=</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span> td<span class="special">)</span><span class="special">;</span></pre>Local_date_time += time_duration. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a1a148c4524e25cc73fc861ed78b523cd"></a><span class="keyword">operator</span><span class="special">-</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span> td<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Local_date_time - time_duration. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1ae7d27a00c93c0a78f1cd2ca5d2cbf62b"></a><span class="keyword">operator</span><span class="special">-=</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span> td<span class="special">)</span><span class="special">;</span></pre>Local_date_time -= time_duration. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">time_duration_type</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a2482741616bca3dfd6f2da12205cdf6f"></a><span class="keyword">operator</span><span class="special">-</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1local__time_1_1local__date__time__base.html" title="Class template local_date_time_base">local_date_time_base</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>local_date_time -= local_date_time --&gt; time_duration_type </li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.12.15.6.6.5.4.4"></a><h3>
<a name="id-1_3_12_15_6_6_1_1_3_12-bb"></a><code class="computeroutput">local_date_time_base</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><span class="keyword">static</span> <span class="identifier">time_is_dst_result</span> 
<a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a69c4262bd7850f227c24283f2ef87760"></a><span class="identifier">check_dst</span><span class="special">(</span><span class="identifier">date_type</span> d<span class="special">,</span> <span class="identifier">time_duration_type</span> td<span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> tz<span class="special">)</span><span class="special">;</span></pre>Determines if given time label is in daylight savings for given zone. <p>Determines if given time label is in daylight savings for given zone. Takes a date and time_duration representing a local time, along with time zone, and returns a time_is_dst_result object as result. </p>
</li></ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.12.15.6.6.5.4.5"></a><h3>
<a name="id-1_3_12_15_6_6_1_1_3_13-bb"></a><code class="computeroutput">local_date_time_base</code> private member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="identifier">utc_time_type</span> 
<a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1aaa467285eeb951599fab7735f8b84445"></a><span class="identifier">construction_adjustment</span><span class="special">(</span><span class="identifier">utc_time_type</span> t<span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">tz_type</span> <span class="special">&gt;</span> z<span class="special">,</span> 
                        <span class="keyword">bool</span> dst_flag<span class="special">)</span><span class="special">;</span></pre>
<p>Adjust the passed in time to UTC? </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.local_time_reference.classboost_1_1local__time_1_1local__date__time__base_1a0e3e384c871a1d616ba8f30c62178fb1"></a><span class="identifier">zone_as_offset</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">time_duration_type</span> <span class="special">&amp;</span> td<span class="special">,</span> 
                           <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> separator<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>Simple formatting code – todo remove this? </p>
</li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
    <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1local__time_1_1dst__not__valid.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.local_time_reference.local__date__time_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1local__time_1_1time__label__invalid.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
